extern unsigned char URX1_Ready;
extern unsigned char URX2_Ready;
extern unsigned char in1_buffer[1530];
extern unsigned char in2_buffer[1530];
extern unsigned char OLT_MACAddr[6];//OLT
extern unsigned char ONU_MACAddr[6];//ONU
extern unsigned char queue_list[26];
extern unsigned char grants_list[26];
extern unsigned int length_type;
extern unsigned long int timer_counter32;
extern void SChar(unsigned char in);
extern void time_stamp(void);//from monitor.c
//function decleration
void process_URX1(void);
void process_URX2(void);
void Reply_URX1(void);
void send_URX1(void);
void chk_report_buffer(void);

//external function
extern unsigned char *changeLong2Byte(long DataVal);
